package dao;

import java.util.List;

import po.Cart;

public interface CartDao {
	public int addCart(String cartId,int cId);//添加到cart表
	public int delCart(String cartId);//删除cart表	
	public List<String> queryCart(int cId);//查询cart表,获得cartId的list
	public Cart queryCartDish(String cartId);//查询cart_dish表
	public int updateCart(String cdId,int num);//更新cart表
	public int addCartDish(String cdId, String cartId,int num,int dId);//添加到cart_dish
	public int delCartDish(String cartId);//删除cart_dish表
}
 